import { AxiosRequestConfig } from 'axios'

export interface Response<T = any> {
  code: number | string
  msg: string
  data: T
}

export interface ExtAxiosRequestOption extends AxiosRequestConfig {
  error?: (err: Response) => void
}
